<?php
/**
 * Created by PhpStorm.
 * User: ZZF
 * Date: 2017/3/16
 * Time: 11:36
 */

namespace app\admin\model;
use think\Model;
use think\Verify;
class StoreAdminModel extends Model{
	protected $validate = [
         'rule' => [
			'store_id' => 'require',
			'user_id' => "require|unique:store_admin"
		 ],
         'msg'  => [
			'store_id.require' => "请选择所属门店！",
			'user_id.require' => "请选择绑定管理员！",
			'user_id.unique' => "绑定管理员已存在！"
		 ]
    ];
	
}
